@extends('admin.base.index')
@section('content')
<div style="width:100%;height:130px"></div>
<div style="margin:20px;font-size:20px">
	<table class="tile table-bordered table-striped" style="width:45%">
	<caption>网站维护页</caption>
		<tr>
			<td align="center">id</td>
			<td align="center">logo图</td>
			<td align="center">状态</td>
			<td align="center">操作</td>
		</tr>
		<tr>
			<td align="center">{{ $list[0]->id }}</td>
			<td align="center">{{ $list[0]->logo }}</td>
			<td align="center">{{ $list[0]->set==0 ?"不维护":"维护" }}</td>
			<td align="center"><a href="{{ url('admin/set')}}?id={{ $list[0]->id }}&set={{ $list[0]->set }}"><button class="btn">{{ $list[0]->set==0 ?"维护":"取消维护" }}</button></a></td>
		</tr>
	</table>
</div>
@stop